//
//  LZVideoPresenter.h
//  laziz_Consumer
//
//  Created by xbnzd on 16/11/22.
//  Copyright © 2016年 XBN. All rights reserved.
//


//***********************
//==========视频相关======
//***********************


#import <Foundation/Foundation.h>
#import "LZBasePresenter.h"
@class LZVideoDetialModel;


static NSString *kVideoListUrl = @"/clientsalesPromotion/listPage";    //视频列表


typedef void(^LZVideoDetailSuccessBlock)(LZVideoDetialModel *model);
typedef void(^LZVideoDetailFailedBlock)(NSString *errorRemind);


@interface LZVideoPresenter : LZBasePresenter


#pragma mark -
#pragma mark 视频下载

/**
 视频下载

 @param urlStr 下载地址
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (NSURLSessionDownloadTask *)downLoadVideoWithURLStr:(NSString *)urlStr Progress:(void(^)(NSProgress *downLoadProgress))progressBlock ResultSuccess:(void(^)(NSURL *localPathURL))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;


@end
